package com.czy.owner.widget.timersection;

import com.jzxiang.pickerview.config.PickerConfig;
import com.jzxiang.pickerview.data.WheelCalendar;
import com.jzxiang.pickerview.data.source.TimeRepository;

/**
 * Created by Raven on 2018/4/9.
 */

public class SectionTimeRepository extends TimeRepository{
    SectionConfig mPickerConfig;
    public SectionTimeRepository(PickerConfig pickerConfig) {
        super(pickerConfig);
        this.mPickerConfig = (SectionConfig) pickerConfig;
    }

    public WheelCalendar getDefaultStartCalendar() {
        return mPickerConfig.mCurrentStartCalendar;
    }

    public WheelCalendar getDefaultEndCalendar() {
        return mPickerConfig.mCurrentEndCalendar;
    }
}
